package com.lianzai.shop.dao;

import com.lianzai.shop.model.Shop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 商户
 */
@Mapper
public interface ShopDao {
	List<Shop> list(Map<String, Object> map);
	int count(Map<String, Object> map);
	int remove(Long id);
	int removeLicense(Long id);
	List<Map<String, Object>> queryTicektShopUsedList(Map<String, Object> map);
	int save(Shop shop);
	int update(Shop shop);
	int updateLicense(Shop shop);
	int insertLicense(Shop shop);
	int pass(Shop shop);
	Shop get(Long id);
	List<Map<String, String>> queryIndustryList();
}
